magnetic effect of electric current full explanation